LEADTOOLS Medical (Leadtools.Dicom.AddIn assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
IndexOf Method
See Also 
Leadtools.Dicom.AddIn Namespace > ThreadSafeList<T> Class : IndexOf Method



item
The object to locate in the IList.
item
The object to locate in the IList.
Determines the index of a specific item in the IList.

Syntax

Visual Basic (Declaration) 
Public Function IndexOf( _
   ByVal item As T _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As ThreadSafeList(Of T)
Dim item As T
Dim value As Integer
 
value = instance.IndexOf(item)
C# 
public int IndexOf( 
   T item
)
C++/CLI 
public:
int IndexOf( 
   T^ item
) 

Parameters

item
The object to locate in the IList.

Return Value

The index of item if found in the list; otherwise, -1.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Dicom.AddIn requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features